﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Camc.Quality.Migrations
{
    public partial class _20210922_updatestore : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "ProcessesNo",
                table: "StoreStockContents");

            migrationBuilder.DropColumn(
                name: "WorkStepNo",
                table: "StoreStockContents");
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "ProcessesNo",
                table: "StoreStockContents",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<string>(
                name: "WorkStepNo",
                table: "StoreStockContents",
                nullable: true);
        }
    }
}
